<template>
  <div>
    <el-form ref="form" :model="form" label-width="80px">
      <el-form-item label="邀约达人">
        <el-input
          type="textarea"
          v-model="form.query"
          placeholder="请输入达人id或名称 多个用空格隔开"
        ></el-input>
      </el-form-item>
      <el-form-item>
        <el-button type="" size="mini" @click="form.query = ''"
          >清空内容</el-button
        >
        <el-button type="primary" size="mini" @click="onSubmit"
          >立即邀约</el-button
        >
      </el-form-item>
    </el-form>
  </div>
</template>

<script>
export default {
  components: {},
  created() {},
  data() {
    return {
      form: {
        query: "",
      },
    };
  },
  mounted() {},
  methods: {
    onSubmit() {
      this.$emit("appointInvitationFn", this.form.query);
    },
  },
};
</script>

<style scoped></style>
